import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "normalize.css/normalize.css";
import animated from "animate.css";
import "@/styles/index.scss";
//全局变量
import "element-ui/lib/theme-chalk/index.css";
import http from "./api"; // 将axios在config配置好,再从这以http直接引用
import "./permission";
//第三方包
import ElementUI from "element-ui";

Vue.use(animated);
Vue.use(ElementUI);
Vue.use(http);

//Vue.prototype.$http = http;
Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
